﻿import ko = require("knockout");
import components = require("components/preload");
import bindings = require("bindingHandlers/preload");
import Editor = require("Editor");

class Editone {
    static start() {
        return components.load().then(
            () => bindings.load()
            ).then(
            () => {
                var editor = new Editor();
                ko.applyBindings(editor);
            }
            );
    }
}

export = Editone;